unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, Wwdbigrd, Wwdbgrid, DB, ADODB, acroMultiReplacer,
  acroMultiDD,acroDelphiDBClassMethod, StdCtrls, Buttons;

type
  TForm1 = class(TForm)
    wwDBGrid1: TwwDBGrid;
    ADOConnection1: TADOConnection;
    ADODataSet1: TADODataSet;
    DataSource1: TDataSource;
    acroMultiStreamDD1: TacroMultiStreamDD;
    acroMultiReplacer1: TacroMultiReplacer;
    BitBtn1: TBitBtn;
    wwDBGrid2: TwwDBGrid;
    procedure ADODataSet1AfterOpen(DataSet: TDataSet);
    procedure BitBtn1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.ADODataSet1AfterOpen(DataSet: TDataSet);
begin
  Proc_TDataSet(acroMultiStreamDD1,DataSet,acroMultiReplacer1.OwnerOption.LCID,'0',nil);
end;

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
  ADODataSet1.Open;
end;

end.
